import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import http from '@/utils/axios.js'
import Vant from 'vant';
import 'vant/lib/index.css';
Vue.use(Vant);
// 图片懒加载
import { Lazyload } from 'vant';
Vue.use(Lazyload);
// axiios请求直接挂在到原型上
Vue.prototype.$axios = http
// 触摸组件
import touch from 'vue-directive-touch';
Vue.use(touch);

Vue.config.productionTip = false
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
